﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data;

using QLTTAN.DAL;
using QLTTAN.DTO;
namespace QLTTAN.BLL
{
    public class CaHocBLL
    {
        CaHocDAL CH_DAL;

        public CaHocBLL()
        {
            CH_DAL = new CaHocDAL();
        }

        public DataTable CaHoc_Load()
        {
            return CH_DAL.CaHoc_Load();
        }

        public int CaHoc_Insert(CaHocDTO CH_DTO)
        {
            return CH_DAL.CaHoc_Insert(CH_DTO);
        }

        public int CaHoc_Update(CaHocDTO CH_DTO)
        {
            return CH_DAL.CaHoc_Update(CH_DTO);
        }

        public int CaHoc_Delete(CaHocDTO CH_DTO)
        {
            return CH_DAL.CaHoc_Delete(CH_DTO);
        }
    }
}
